package com.qh.book.service.impl;

import java.util.List;

import javax.transaction.Transactional;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.qh.book.dataobj.HomeImgs;
import com.qh.book.repository.HomeImgsRepository;
import com.qh.book.service.HomeImgsService;

@Service
@Transactional
public class HomeImgsServiceImpl implements HomeImgsService {
	
	@Autowired
	private HomeImgsRepository homeImgsRepository;

	@Override
	public List<HomeImgs> findAll() {
		
		return homeImgsRepository.findAll();
	}

}
